a = list
name = input(a)
print(name)


def notEmpty(s):
    return s and s.strip()


a = tuple(name)
print(a)
s = a[::-1]
b = list(filter(notEmpty, s))
print(b)
